function Loger() {
    let logList = [];
    let log = (value) => {
        logList.push(value)
    }
    let getLog = () => {
        return logList;
    }
    return { log, getLog };
}